{% extends 'base.html' %} {% import 'bootstrap/wtf.html' as wtf %} {% block title %}登录{% endblock %} {% block head %}
    {{ super() }}
    <style type="text/css">
        #loginlength {
            max-width: 600px;
        }

        .form-group {
            padding-bottom: 7px;
            margin: 0 0 0 0;
        }

        #submit {
            font-size: 16px;
            box-sizing: border-box;
            background-color: #9ad274;
            margin-top: 0;
            margin-bottom: 0;
            width: 100px;
{#            margin-left: 35%;#}
            margin-left:-moz-calc(50% - (50px));
            margin-left:-webkit-calc(50% - (50px));
            margin-left: calc(50% - (50px));
        }
        .form-group label.control-label{
            font-size: 1.5rem;
            margin-top: 0;
        }
        input.form-control{
            margin-bottom: 0;
        }
        .container h1{
            text-align: center;
        }
        .checkbox label, .radio label, label {
            font-size: 1.3rem;
        }
    </style>
{% endblock %}
{% block content %}
    {{ super() }}
    <div class="page-header">
        <div class="container">
            <h1>登录</h1>
        </div>
    </div>
    <div class="container">
        <div class="row">
            <div class="col-md-3"></div>
            <form method="post" class="col-md-6">
                <div class="well bs-component">
                    {{ wtf.quick_form(form) }}
                </div>
            </form>
            <div class="col-md-3"></div>
        </div>
    </div>
{% endblock %}